/************************************************************************
 * The code is owned by mainframer.cn and Shang Tao
 * Without aproval of mainframer.cn and Shang Tao, removing the copyright
 * infomation is regarded as invassion of proprietary copyright
 ***********************************************************************/
package com.mr.qa.form;

public class QuestionCategoryForm extends BaseForm {
        private String id;
        private String state;
	private String name;
	private String parentId;
        private Integer priority;//this category's priority in the same level category
        private String onlyForAdmin;//this category only displayed for admin, "Y" for admin, defaults to"N" 
        private boolean isAds = false;
        private boolean isLock = false;
        
        //208.12.18
        private boolean isTraining = false;
        
        private String adCategoryContactMail;//the mail for getting resumes
        
        private Integer type;
        
	public String getName() 
        {
		return name;
	}
	public void setName(String name) 
        {
		this.name = name;
	}
	
	public String getState() {
		return state;
	}
	public void setState(String state)
        {
		this.state = state;
	}
	public String getParentId()
        {
		return parentId;
	}
	public void setParentId(String parentId)
        {
		this.parentId = parentId;
	}

        public void setId(String id)
        {
            this.id = id;
        }
        
        public String getId()
        {
            return id;
        }

        public void setPriority(Integer priority)
        {
            this.priority = priority;
        }
        
        public Integer getPriority()
        {
            return priority;
        }

    public void setOnlyForAdmin(String onlyForAdmin)
    {
        this.onlyForAdmin = onlyForAdmin;
    }
    
    public String getOnlyForAdmin()
    {
        return onlyForAdmin;
    }

    public void setIsAds(boolean isAds)
    {
        this.isAds = isAds;
    }
    
    public boolean getIsAds()
    {
        return isAds;
    }

    public void setAdCategoryContactMail(String adCategoryContactMail)
    {
        this.adCategoryContactMail = adCategoryContactMail;
    }
    
    public String getAdCategoryContactMail()
    {
        return adCategoryContactMail;
    }

    public void setIsTraining(boolean isTraining) {
        this.isTraining = isTraining;
    }

    public boolean getIsTraining() {
        return isTraining;
    }
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public boolean getIsLock() {
		return isLock;
	}
	public void setIsLock(boolean isLock) {
		this.isLock = isLock;
	}
}
